package cn.com.haopy.dataes.db.utils;

public enum GenderEnum {
    /***
     * 未知
     */
    UNKNOWN("未知", (short) 0),
    MALE("男性", (short) 1),
    FEMALE("女性", (short) 2);

    private String name;
    private Short code;

    private GenderEnum(String name, Short code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Short getCode() {
        return code;
    }

    public void setCode(Short code) {
        this.code = code;
    }
}
